from bs4 import BeautifulSoup								#导入库
soup = BeautifulSoup(open('index.html'),'lxml')					#创建对象
result=soup.select("p")									#查找标签p
print(type(result))
print(len(result))											#输出结果
print(result[0])